how to find local maximum and minimum of a function

join shbcf.ru